# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-parallel-n64
pkgver=0_git20200402
pkgrel=0
_commit="54681c22f754695dea02dcf9f6974f68d25604fe"
pkgdesc="optimized/rewritten Nintendo 64 emulator made specifically for Libretro"
url="https://github.com/libretro/parallel-n64"
arch="all !aarch64 !armv7 !armhf !ppc64le !s390x !mips !mips64"
license="GPL-2.0-only"
makedepends="mesa-dev"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/parallel-n64/archive/$_commit.tar.gz"
builddir="$srcdir/parallel-n64-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 parallel_n64_libretro.so "$pkgdir"/usr/lib/libretro/parallel_n64_libretro.so
}

sha512sums="ffb92ae5f94269b4e300beeb8bce93f59574b5e302b5b459cfa288370cca337108ffa61f479c3c555c8a91c3f7c7027a16cc2f8c181cb8da8dc3e6e179647aa1  libretro-parallel-n64-54681c22f754695dea02dcf9f6974f68d25604fe.tar.gz"
